#include "libmypy.h"

char hellofunc_docs[] = "Hello world description.";

PyMethodDef lcc_funcs[] = {
	{	"hello",
		(PyCFunction)hello,
		METH_NOARGS,
		hellofunc_docs},
	{	NULL}
};

char lccmod_docs[] = "This is hello world module.";

PyModuleDef lcc_mod = {
	PyModuleDef_HEAD_INIT,
	"lcc",
	lccmod_docs,
	-1,
	lcc_funcs,
	NULL,
	NULL,
	NULL,
	NULL
};

PyMODINIT_FUNC PyInit_lcc(void) {
	return PyModule_Create(&lcc_mod);
}
